{% extends 'layout/manage.html' %}
{% load static %}
{% block css %}
    <link rel="stylesheet" href="{% static 'tracer/css/setting_delete.css' %}">
{% endblock %}
{% block content %}
<div class="container clearfix" style="margin-top: 20px">
    <div class="col-sm-3" style="color: #FF0000;">
        <div class="panel panel-default">
            <div class="panel-heading" style="background-color: transparent; font-wight: bold;">
                个人中心
            </div>
            <div class="list-group" style="border-radius: 0">
                <div>
                    <a href="#" class="list-group-item">我的资料</a>
                    <a href="#" class="list-group-item">修改密码</a>
                    <a href="{% url 'websass:delete_item' project_id=request.tracer.project.id %}"
                       class="list-group-item choose">删除项目</a>
                </div>
            </div>
        </div>
    </div>
    <div class="col-sm-9">
        <div class="panel panel-default">
            <div class=" panel-heading">
                <i class="fa fa-address-card-o" aria-hidden="true"></i> 我的资料
            </div>
            <div class="panel-body">
                    <form class="form-horizontal"  method='post'>
                        {% csrf_token %}
                        <div class="form-group">
                            <label class="col-sm-2 control-label">项目名</label>
                            <div class="col-sm-5">
                                <input type="text" class="form-control" id="project_name" placeholder="请输入项目名" name="project_name">
                                <div class="error-msg">{{ error }}</div>
                            </div>
                        </div>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-5">
                                <input type="submit" class="btn btn-danger" value="删 除">

                            </div>
                        </div>
                    </form>
            </div>
        </div>
    </div>
</div>

{% endblock %}